<include file="header">
				<div id="content">
					{if !empty($arrTaskLists)}
					<foreach for=arrTaskLists value=oTask>
					<div class="post">
						<h2 class="title"><a href="{:Q::U( 'index/update_task?id='.$oTask['task_id'])}" title="编辑任务">{$oTask.task_subject}</a></h2>
						<p class="meta">Post by {$oTask.user_name} on {$oTask['create_dateline']|date='Y-m-d H:i:s',**}
							{if $GLOBALS['___login___']!==FALSE && $GLOBALS['___login___']['user_id']==$oTask['user_id']}&nbsp;&bull;&nbsp; {if $oTask['task_is_completed']==1}任务已完成{d*else}
							
							
							<a href="{:Q::U( 'index/do_task?id='.$oTask['task_id'])}">做任务</a>{/if}&nbsp;&bull;&nbsp; <a href="{:Q::U( 'index/delete_task?id='.$oTask['task_id'])}">删除</a>
							{/if}
							</p>
						<div class="entry">
							<p>{$oTask.task_description}
							{if $oTask['update_dateline']}<div style="color:red;">最后更新时间{$oTask['update_dateline']|date='Y-m-d H:i:s',**}</div>{/if}
							</p>
						</div>
					</div>
					</foreach>
					{d*else}
					没有发现任何记录！
					{/if}


					<div style="clear: both;">&nbsp;</div>
					{$sPageNavbar}
				</div>
				<!-- end #content -->

<include file="sidebar">
<include file="footer">
